package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;
import java.util.Map;


/**
 * 我的待办模块
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PcmAudit extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long auditId;
    private String auditTableName;
    private String auditTableNumber;
    private String auditTableYwName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date auditQuoteDeadline;
    private String avatar;
    private Long userId;
    private Long supplierid;
    private Long circulationStatus;
    private String supplierFullName;
    //处理人姓名
    private String userName;
    private Boolean flag=false;
    private Long quoteStatus;
    private PcmInquiryDemand pcmInquiryDemand;
    private List<PcmQuotationProduct> pcmQuotationProductList;
    private PcmSupplierQuotation pcmSupplierQuotation;

    private PcmInvitedSupplier pcmInvitedSupplier;

    //供应商样品
    private PcmSupplierSampleManagement pcmSupplierSampleManagementList;
    //供应商准入
    private SrmApprovals srmApprovals;

    private PcmSupplierClause pcmSupplierClause;

    //采购申请
    private PcmPurchaseRequest pcmPurchaseRequest;

    //邀标审核 招标项目表（注不是中间表）
    private PcmBiddingInviteTenders pcmBiddingInviteTenders;

    //评标
    private PcmExpertSupplier pcmExpertSupplier;

    private Map<String,Object> evaluationContent;

    public PcmAudit(String auditTableName, String auditTableNumber, String auditTableYwName,
                    Date auditQuoteDeadline, Long supplierId) {
        this.auditTableName = auditTableName;
        this.auditTableNumber = auditTableNumber;
        this.auditTableYwName = auditTableYwName;
        this.auditQuoteDeadline = auditQuoteDeadline;
        this.supplierid = supplierId;
    }
}
